{% extends "uddi/base.html" %}
{% block title %}- {% if newService %}add new{% else %}edit{%endif %} service {% endblock %}
{% block content %}
<h2>{% if newService %}Add new{% else %}Update{%endif %} web service</h2>
<div class="center">
<form enctype="multipart/form-data" 
  {%if newService%}
    action="{{base_url}}newService/"
  {% else %}
    action="{{base_url}}editService/{{serviceId}}/"
  {% endif %}
  method="POST">
<table class="tableNewService">
  {{form}}
</table>
<input type="submit" value="{% if newService %}add{% else %}update{%endif%}" /> <a href="{{base_url}}controlPanel/webservices/" class="button">back</a>
</form>
</div>
{% endblock %}